@model MvcCmsSocial.Models.ViewData.SocialModel
<div>
    <h2>
        Forum Votes:</h2>
    @ViewData["VoteTotal"]
</div>
<div>
    <h2>
        Contributor For:</h2>
    @if (Model._User.ContentPagesContributor != null)
    {

        foreach (var page in Model._User.ContentPagesContributor
            .OrderByDescending(p => p.UpdateDate))
        {
            if (page.IsCategoryPage) { page.Path = ""; page.ContentCategory.Title = ""; }   
            @MvcHtmlString.Create("<a href='/" + page.ContentCategory.Path + "/" + page.Path + "'>" + page.ContentCategory.Title + " " + page.Title + "</a> Updated: " + page.UpdateDate.ToShortDateString())
                <br />           
        }

    }
    else
    {
            @("none so far...")
        ;
    }
</div>
